import { RaceDefine } from "../../../../defines/race_define";
import dialogues from "./dialogues";
import { BasicNpc } from "../../../npc-control/basic_npc";
import message from "./message";
import { genderDefine } from "../../../defines/race_define";
import backdrop from "./backdrop";

export default class NpcNode extends BasicNpc {
  constructor(...params) {
    super(...params);
  }

  getName(){
    return '匿名'
  }

  /**
   * 更多属性请查看people_attr
   * 并且还可以等待开发手册
   * @returns 
   */
  getPeopleAttr(){
    return {
      race: RaceDefine.human.key,
      gender: genderDefine.male,
      money: 0,
      stone: 0,
      basicAttr: {
        diff: 1,
      },
      attr: {
        age: 10,
      },
      // 身份
      identitys: []
    }
  }

  getNpcAttr(){
    return {
      mode: 0
    }
  }

  messageDefine() {
    return message
  }

  dialogueDefine(){
    return dialogues;
  }

  backdropDefine(){
    return backdrop;
  }
}
